﻿<html>
    <head>
        <meta http-equiv=content-type content="text/html; charset=utf-8" />
        <link href="css/admin.css" type="text/css" rel="stylesheet" />
        <script src="/Script/jquery-1.4.1.js"></script>
    </head>
    <body>
        <table cellspacing=0 cellpadding=0 width="100%"
               background="img/header_bg.jpg" border=0>
            <tr height=56>
                <td width=260>
				<!--<img height=56 src="img/header_left.jpg"  width=260>--></td>
                <td style="font-weight: bold; color: #fff; padding-top: 20px" 
                    align=middle> 
				<!-- onclick="if (confirm('确定要退出吗？')) return true; else return false;"  -->
                </td>

                <td style="font-weight: bold; color: #fff; padding-top: 20px" align="right">
                    <span id="myTd" style="margin-right: 20px;">
                    </span>
                    <a href="loginOut">退出</a>
                    </td></tr></table>
        <table cellspacing=0 cellpadding=0 width="100%" border=0>
            <tr bgcolor=#1c5db6 height=4>
                <td></td>
            </tr>
        </table>
    </body>
</html>
<script>
    $(function () {
        $.ajax({
            type: "GET",
            url: "/getLoginName/", //RESTful风格的API定义
            data: "json",
            success: function (vo) {
                if(vo.code==200){
                    $("#myTd").html("当前用户："+vo.msg);
                }
            }
        });
    });
</script>